#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''eof
name:申请人是否存在行内非正常类贷款
code:CQB_CreOverdue_Ind
tableName:
columnName:
groups:个人通用
dependencies:IC_DSJ_2D
type:常用指标
dataSourceType:在线指标
description:
eof'''

import sys

reload(sys)
sys.setdefaultencoding('utf-8')

def icOverdueday():
    try:
        x = ratingRequest.get('icOverdueday')
        null_type_list = ['', None, 'null', 'Null', '/', ' ']
        if x not in null_type_list:
            return float(x)
        else:
            return u'缺失值'
    except:
        return u'缺失值'

result= icOverdueday()
